package com.sh.business.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sh.business.domain.PriceTrends;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.sh.common.excel.annotation.ExcelDictFormat;
import com.sh.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 价格趋势视图对象 bms_price_trends
 *
 * @author ruoyi
 * @date 2025-02-14
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PriceTrends.class)
public class PriceTrendsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 类型(1:scroll 2:sznp)
     */
    @ExcelProperty(value = "类型(1:scroll 2:sznp)", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "biz_found_type")
    private Integer type;

    /**
     * 价格
     */
    @ExcelProperty(value = "价格")
    private BigDecimal price;

    /**
     * 实时时间
     */
    @ExcelProperty(value = "实时时间")
    private Date realTime;


}
